import {
	defineConfig
} from 'vite'
import uni from "@dcloudio/vite-plugin-uni"


export default defineConfig({
	plugins: [uni()],
	// 服务器代理
	server: {
		proxy: {
			'/api': {
				target: 'http://172.30.1.163:8888',
				changeOrigin: true,
				rewrite: path => path.replace(/^\/api/, '')
			}
		}
	}
})